package com.kalaqia.image.di;

import com.kalaqia.image.di.component.DaggerGlideObservableComponent;
import com.kalaqia.image.di.component.ImageLoaderObservableComponent;
import com.kalaqia.image.di.module.GlideModule;
import com.kalaqia.image.library.ImageLoaderOptions;

/**
 * function:
 * project:kalaqia
 * describe:
 * created owner:kalaqia 421407393@qq.com
 * created date:2017/8/8 17:33
 */
//<editor-fold desc="version update log">
// update owner:kalaqia  421407393@qq.com
// update datetime:2017/8/8 17:33 
// update remark:
//</editor-fold>
public class ImageApp {

    public static ImageLoaderObservableComponent getImageLoaderObservableComponent(ImageLoaderOptions options){
        return DaggerGlideObservableComponent.builder().glideModule(new GlideModule(options)).build().getImageLoaderObservableComponent();
    }

}
